<?
	$sess = new Zend_Session_Namespace(CLU_NS);
?>
  <div class="box_newshot">
     <div class="box_title">&nbsp;&nbsp;&nbsp;<?=t(147)?></div>
         <? for ($i = 0; $i < 3; $i++):?> 
          <?$event = $this->viewParams['eventList'][$i] ?>
          <?$thumb = str_replace("/original/","/medium/", $event['thumb']);?>
          <?$article = $event['article']; ?>
          
            <div class="list_event border_event" >
               <div class="news_title"><a href="<?=$this->hvnUrl(array('module' => 'event', 'action' => 'view'), 'nocontroller')?>?id=<?=$event['id']?>"><?=$article['article_title']?></a></div>
               <div class="clear"></div>
               <div class="news_img">
                   <span class="left-category-image-gallery">
                 	<span class="image-list"> 
                 	<?
                 		$userId = $event['poster_id'];
				    	$contentType = 'event';
				    	$id = $event['id'];
				    	if ($event['thumb'])
				    	{
				    		$imageUrl = str_replace("/original/", "/xsmall/", $event['thumb']);
					  	}else{
					  	    $imageUrl = '/public/themes/prime/images/common/100x100_no_image.gif';
					  	}
                 	?>
                 	<img src="<?=$imageUrl?>" style="width:75px;  height:75px;" />
			    	</span>

             <!--      	 <a href="<?=$this->hvnUrl(array('module' => 'event', 'action' => 'view'), 'nocontroller')?>?id=<?=$event['id']?>"><img src='<?=$thumb?>' /></a>    -->

               </div>
               <div class="text"><?=str_first_words(strip_tags($article['article_body']), 26)?></div>
	    	   <div class="detail"><a href="<?=$this->hvnUrl(array('module' => 'event', 'action' => 'view'), 'nocontroller')?>?id=<?=$event['id']?>"><?=t(150)?>...</a></div>
        	</div>
		 <?endfor?>
		 <script type="text/javascript">
			var oriLang = '<?= $article['article_language']?>';
			var lang = '<?= $sess->viewLang?>';
		    googleTranslate(oriLang, lang, 'news_title', 'text');
		</script>
  </div>
